AC_PREREQ(2.61)
AC_INIT(Perl and Python Thrift bindings for HBase, 0.1, carlos.valiente@ecmwf.int, hbase-thrift)
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([python/setup.py])

AC_PROG_AWK
AC_PROG_GREP

AC_PATH_PROG([THRIFT], [thrift],
	AC_MSG_ERROR([Thrift executable not found in your $PATH.]))

AC_PATH_PROG([PERL], [perl],
	AC_MSG_ERROR([No Perl found in your $PATH.]))

AC_PATH_PROG([PYTHON], [python],
	AC_MSG_ERROR([No Python found in your $PATH.]))


AC_CONFIG_FILES([
	Makefile
	perl/Makefile
	perl/Makefile.PL
	perl/lib/Makefile
	perl/test/Makefile
	python/Makefile
	python/test/Makefile
	thrift/Makefile
])

AC_OUTPUT
